﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConfigCreate.Model
{
    /// <summary>
    /// 控件类型
    /// </summary>
    public enum ControlType
    {
        /// <summary>
        /// 文本框
        /// </summary>
        TextBox,
        /// <summary>
        /// 数字框
        /// </summary>
        NumericUpDown,
        /// <summary>
        /// 切换按钮
        /// </summary>
        ToggleButton,
        /// <summary>
        /// 密码框
        /// </summary>
        PasswordBox,
        /// <summary>
        /// 下拉框
        /// </summary>
        ComboBox,
        /// <summary>
        /// 日期选择框
        /// </summary>
        DatePicker,
        /// <summary>
        /// 日期时间选择框
        /// </summary>
        DateTimePicker,
        /// <summary>
        /// 可勾选下拉框
        /// </summary>
        CheckComboBox,
        /// <summary>
        /// IP地址控件
        /// </summary>
        IpAddressTextBox,
        /// <summary>
        /// 选择文件对话框
        /// </summary>
        OpenFile,
        /// <summary>
        /// 可多选选择文件对话框
        /// </summary>
        MultiOpenFile,
        /// <summary>
        /// 保存对话框
        /// </summary>
        SaveFile,
        /// <summary>
        /// 目录选择框
        /// </summary>
        OpenFolder,
        /// <summary>
        /// 标签框
        /// </summary>
        Label,
        /// <summary>
        /// 自定义控件
        /// </summary>
        CustomControl,
    }
}
